import request from "@/utils/request";
export const getAction = <T>(url: string, params?: any, abort?: AbortController) => request.get<T>(url, params, abort)
export const postAction = <T>(url: string, params?: any, abort?: AbortController) => request.post<T>(url, params, abort)
export const putAction = <T>(url: string, params?: any, abort?: AbortController) => request.put<T>(url, params, abort)
export const deleteAction = <T>(url: string, params?: any, abort?: AbortController) => request.delete<T>(url, params, abort)